import request from '../utils/request'
/**
 * 搜索相关接口
 */
export default {
  // 根据分组id获取分组列表
  getGoodsPageByCategory (_categoryId, _currentPage, _pageSize) {
    const data = {
      categoryId: _categoryId,
      pageIndex: _currentPage,
      pageSize: _pageSize
    }

    return request({
      url: 'gds/goods/getGoodsPageByCategory.do_',
      method: 'post',
      data
    })
  }
}
